AmeliaBooking\Application\Services\Booking\AppointmentApplicationService D

Total Complexity 254
Dependencies 30
Dependents 0
Total lines 1,654
Lines of code 955
Logical lines of code 438
Comment lines 373
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
addOrEditAppointment()
D
28
36 130
update()
C
30 28 110
bookingDetailsChanged()
B
43 23 44
getAlreadyBookedAppointment()
B
41 22 48
getUserConnectionChanges()
A
45 16 39
manageAppointmentStatusByBooking()
A
41 12 60
add()
A
38 11 69
processPackageAppointmentBooking()
A
45 12 41
delete()
A
53 12 23
isAppointmentStatusChangedWithBooking()
A
43 7 50
removeBookingFromGroupAppointment()
A
40 5 65
getMaximumBookingDuration()
A
58 8 16
canBeBooked()
S
49 7 29
build()
S
49 6 30
getBookingLengthTime()
S
59 7 13
approveBooking()
S
46 5 41
getBookingPriceForServiceDuration()
S
61 6 12
getAppointmentLengthTime()
S
59 5 15
manageDeletionParentRecurringAppointment()
S
57 4 17
appointmentDetailsChanged()
S
64 5 10
getAppointmentEntitiesIdsBySearchString()
S
52 3 26
removeBookingFromNonGroupAppointment()
S
52 3 25
convertTime()
S
62 3 12
getAppointmentBooking()
S
67 3 8
isAppointmentRescheduled()
S
68 2 7
calculateAndSetAppointmentEnd()
S
66 1 9
isAppointmentStatusChanged()
S
79 1 3
__construct()
S
81 1 3